<include file="Public/head" />
<include file="Public/sider" />
<style>
    table{
        border-collapse: inherit !important;
    }
    .ncsc-order-contnet thead td {
        background-color: #f5f5f5;
    }
    .ncsc-order-contnet tfoot td {
        padding: 10px 0;
    }

    .ncsc-order-contnet h3 {
        background-color: #f5f5f5;
        clear: both;
        color: #000;
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        padding: 5px 0 5px 12px;
    }
    h3 {
        font-size: 18px;
    }
    .ncsc-order-contnet  td .sum em {
        color: #c00;
        font: 16px/24px Verdana,Arial;
        margin: 0 4px;
        vertical-align: bottom;
    }
    .ncsc-order-step dl.step-first{
        margin-left: 0;
    }
    .ncsc-order-contnet h3{
        display: inline-block;
    }
</style>

<div id="layoutRight" class="ncsc-layout-right">
    <div class="ncsc-path"><i class="icon-desktop"></i>商家管理中心<i class="icon-angle-right"></i>订单物流<i class="icon-angle-right"></i>商品退款原因</div>
    <div class="main-content" id="mainContent">

        <div class="main-content" id="mainContent">
            <div class="item-publish">


                    <div class="ncsc-form-goods">
                        <h3 id="demo1">退货</h3>
                        <dl>
                            <dt>退货原因：</dt>
                            <dd>

                                <if condition="$orderGoodsOne['refund_reason'] eq 1">
                                    不喜欢\不想要
                                    <elseif condition="$orderGoodsOne['refund_reason'] eq 2"/>
                                    未按约定时间发货
                                    <elseif condition="$orderGoodsOne['refund_reason'] eq 3"/>
                                    快递物流一直未送到
                                    <elseif condition="$orderGoodsOne['refund_reason'] eq 4"/>
                                    商品质量有问题
                                    <elseif condition="$orderGoodsOne['refund_reason'] eq 5"/>
                                    商品与描述不符
                                    <elseif condition="$orderGoodsOne['refund_reason'] eq 6"/>
                                    卖家发错货
                                    <elseif condition="$orderGoodsOne['refund_reason'] eq 7"/>
                                    包装\商品破损\污渍
                                </if>
                            </dd>
                        </dl>
                        <dl>
                            <dt>退货类型：</dt>
                            <dd>
                                <if condition="$orderGoodsOne['refund_type'] eq 1">
                                    我要退款，不退货
                                    <elseif condition="$orderGoodsOne['refund_type'] eq 2"/>
                                    我要退货
                                </if>
                            </dd>
                        </dl>
                        <dl>
                            <dt>退款金额：</dt>
                            <dd>
                                {$orderGoodsOne['refund_amount']}
                            </dd>
                        </dl>
                        <dl>
                            <dt>退款说明：</dt>
                            <dd>
                                {$orderGoodsOne['refund_explain']}
                            </dd>
                        </dl>
                        <if condition="$orderGoodsOne['refund_img']">
                            <dl>
                                <dt>退款图片：</dt>
                                <dd>

                                    <img src="{:C('IMGURL')}{$orderGoodsOne['refund_img']}">
                                </dd>
                            </dl>
                        </if>

                    </div>


            </div>

            <a href="{:U('details',['id'=>$orderGoodsOne['order_id']])}" class="ncbtn ncbtn-grapefruit mt5">返回</a>

            <!-- 费用信息 -->

        </div>
        <script>
           /* function pay_cancel(obj){
                var url =  $(obj).attr('data-url');
                layer.open({
                    type: 2,
                    title: '退款操作',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['45%', '50%'],
                    content: url,
                });
            }
            //取消付款
            function pay_callback(s){
                if(s==1){
                    layer.msg('操作成功', {icon: 1});
                    layer.closeAll('iframe');
                    location.href =	location.href;
                }else{
                    layer.msg('操作失败', {icon: 3});
                    layer.closeAll('iframe');
                    location.href =	location.href;
                }
            }

            // 弹出退换货商品
            function selectGoods2(order_id){
                var url = "/index.php?m=Seller&c=Order&a=get_order_goods&order_id="+order_id;
                layer.open({
                    type: 2,
                    title: '选择商品',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['60%', '60%'],
                    content: url,
                });
            }
            // 申请退换货
            function call_back(order_id,goods_id)
            {
                var url = "/index.php?m=Seller&c=Order&a=add_return_goods&order_id="+order_id+"&goods_id="+goods_id;
                location.href = url;
            }*/
        </script>
    </div>
</div>
</div>
<div id="cti">
    <div class="wrapper">
        <ul>
        </ul>
    </div>
</div>
<div id="faq">
    <div class="wrapper">
    </div>
</div>
<include file="Public/foot" />